<template>
      <van-search
        placeholder="请输入搜索关键词"
        disabled
        @click="$router.push('/search')"
      >
        <template #label>
          <span class="city" @click="$router.push('/citylist')">
            北京
            <van-icon name="play" color="#7f7f80" class="custom-icon" />
          </span>
        </template>
      </van-search>

</template>

<script>
export default {
  name: 'SearchItem',
  components: {},
  props: {},
  data () {
    return {
    }
  },
  watch: {},
  computed: {},
  created () {},
  mounted () {},
  methods: {}
}
</script>
<style lang="less" scoped>
.van-search {
  padding: 0;
  width: 300px;
  margin: 10px;
}
.custom-icon {
  transform: rotate(90deg);
}
.city {
  border-right: 1px solid #949494;
  padding-right: 10px;
}
</style>
